//
//  SmallDecisionsSingletonHelper.h
//  SmallDecisions
//
//  Created by 李付雄 on 2025/6/14.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface SmallDecisionsSingletonHelper : NSObject

@property(nonatomic,assign) BOOL isVIP;
+ (SmallDecisionsSingletonHelper *)shareInstance;
+ (NSInteger)getUserNumberWithKey:(NSString *)key;
+ (void)setUserNumberWithKey:(NSString *)key number:(NSUInteger)number;
+ (void)openVipViewController;
+ (void)presentVipViewController;
+ (void)openWebViewWithPath:(NSString *)path;

+ (void)openUserProtocalWebView;
+ (void)openPrivacyProtocalWebView;
+ (void)openAboutUsWebView;
+ (void)shareAppToPeopleWithText:(NSString *)text;
+ (void)shareAppToPeople;
+ (void)shareToPeopleWithPath:(NSString *)path;
+ (void)shareToPeopleWithText:(NSString *)text path:(NSString *)path;

+ (UIWindow *)getKeyWindow;
@end

NS_ASSUME_NONNULL_END
